Jump to content

- PBXCall

- # PBXCall.CallingDeviceType

  Followers 0

  VBScript → Lua

  This function returns the name of the calling device type.

      PBXCall.CallingDeviceType

  This function returns a string value.

  This is a list of possible return strings:

      String      Type
      ----------  ----------------------------------------
      COMClient   SwyxIt! (<v6.1x)
      SIP Client  SwyxIt! (>= v6.1x) and other SIP devices
      H323Client  H.323 device
      Gateway     SwyxGate or third party gateway
      Phone       SwyxPhone (Lxxx)
      Link        SwyxLink
      unkonwn     something else

  If you need to know the name of the calling device, i.g. the name of the trunk as shown in SwyxWare Administration, you can use the PBXCall.CallingDeviceName property.

  So with the combination of PBXCall.CallingDeviceType and PBXCall.CallingDeviceName you can easily identify a specifc trunk a call came into your SwyxWare, be it an external trunk or a trunk to another linked SwyxWare.

  By Tom Wellige

  - May 16, 2022
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.